<template>
  <div class="messlist">
    <div class="header">
      <div class="title">
        <div>
          <span @click="onClickLeft">＜</span>
          <img :src="list.imgs" alt />
          <span>{{list.names}}</span>
        </div>
        <span class="dot">...</span>
      </div>
    </div>
    <div class="main">
      <div class="one"></div>
      <div class="two"></div>
      <div class="third">
        <p>
          2002年，15岁的石原里美参加了HORIPRO公司第27回艺人
          新人选拔，获得最佳新人“完…
        </p>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      list: {}
    };
  },
  computed: {},
  created() {
    this.list = this.$store.state.messageList.find(
      ele => ele.id == this.$route.params.id
    );
    // console.log(this.list)
  },
  mounted() {},
  methods: {
    onClickLeft() {
      this.$router.go(-1);
    }
  }
};
</script>
<style lang="scss" >
</style>
<style scoped lang="scss">
.messlist {
  width: 100%;
  color: white;
  .header {
    .title {
      display: flex;
      line-height: 60px;
      font-size: 14px;
      justify-content: space-between;
      // align-items: center;
      img {
        width: 32px;
        height: 32px;
        margin: 0 12px;
      }
      div {
        display: flex;
        align-items: center;
      }
      .dot {
        line-height: 50px;
        font-size: 30px;
      }
    }
  }
  .main {
    overflow: auto;
    .one {
      width: 91px;
      height: 32px;
      margin-top: 50px;
      border: 1px dashed grey;
      background: url(~@/assets/images/user/user-hell.png) no-repeat center;
      background-size: contain;
    }
    .two {
      float: right;
      width: 91px;
      height: 32px;
      margin-top: 50px;
      border: 1px dashed grey;
      background: url(~@/assets/images/user/user-hi.png) no-repeat center;
      background-size: contain;
    }
    .third {
      display: flex;
      justify-content: center;
      align-items: cneter;
      float: left;
      width: 235px;
      height: 85px;
      margin-top: 150px;
      border: 1px dashed grey;
      background: url(~@/assets/images/user/user-black.png) no-repeat center;
      background-size: contain;
      p {
        display: inline-block;
        padding: 12px;
        background: #33363d;
        max-width: 70%;
        text-align: left;
      }
    }
  }
}
</style>
